{% extends "base.html" %}

{% block title %}
	Add news
{% endblock %}

{% block content %}

<p>
<form name="login" method="post" action="/hwk/addnews/">
	  
	<strong>Title:</strong>{{ form.title }} <br />
	<strong>Date:</strong>{{ form.date }} <em> Please input the date as YYYY-MM-DD.</em><br /><br />
	<strong>News:</strong><br />
	{{ form.news }} <br />
<input type="submit" name="submit" value="Upload!" / >
</form>

</p> 
{% endblock %}
